
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Cirrious.MvvmCross.Touch.Views;
using Cirrious.MvvmCross.Binding.BindingContext;
using Bulb.Core.ViewModels;

namespace Bulb.UI.IOS
{
	public partial class FirstView : MvxViewController
	{
		static bool UserInterfaceIdiomIsPhone {
			get { return UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone; }
		}

		public FirstView ()
			: base (UserInterfaceIdiomIsPhone ? "FirstView_iPhone" : "FirstView_iPad", null)
		{
		}
		
		public override void DidReceiveMemoryWarning ()
		{
			base.DidReceiveMemoryWarning ();
			
		}
		
		public override void ViewDidLoad ()
		{
            //View = new HomeViewModel();
			
			base.ViewDidLoad();
			var uiLabel = new UILabel(new RectangleF(0, 0, 320, 100));
			View.AddSubview(uiLabel);	
		}
	}
}

